removed minimum distance