fix chebyshev and manhattan