- fix problem with NaN exception when custome roof results in a triangle
that forms a line