use manhattan distance rather than euclidean distance