Update MinDistCompare.java