Optimized building production