Scaling building price formula implementation