how to calculate construction company costs