modify the cat metric problem