++$counter - $height * $width + $height || map $_ &= 15, @m, splice(@p), $c = $| = 1 }