sequential 2D clustering