Prefer 'do' to wrap imperative code, revert to reshape even though hideously slow