rectangles are checked for the angles of the lines they have