What factors determine the cost of Microsoft dynamics?