sequential 2d clustering