Fixing a test problem. Using deque() for saving the subdivision_right points.