Volume calculation of precast elements