ensured excessive gaps are collapsed
ensured excessive gaps are collapsed

i.e. remove placeholder-only columns within a row-span

using a set of heuristics which might or might not be
comprehensive/reliable

this operates on the stack rather than the matrix for efficiency, but
also because either approach seemed tricky

yetu/pocketry