created make-rect-alt, that creates rectangles based on diagonals