Roof calculation(2)(2)