recursive fastmap clustering