adding some meanshift stuff to fullmsa