fix typo in f05cecd1421 mid2d !~ min2d