Deleting useless maps