first version of pano clustering