try to avoid repeat neighbors