Fix a bug whereby rectangles are generated too fast beyond 200 points.