fix small clusters in meanshift