calculate roof space