chebychev distance added