debugged rectangles for progrun