Update minDepth.java