some proximity fixing for edge selection