Add minimal distance to RetrieveaChestPosition.php