Computations for Manhattan and Chebyshev added