most complex of manhattan distance: snake distance