Slightly elaborate MS next-coordinate problem