more proximity fixing for edge selection