8cc euclidean and manhattan