rectangle's algrithem | ScratchStats