Use max norm for distances