Decide on whether `(M, N)` or `(N, M)` (see line 60 in "Returns") to avoid confusing the reader.