Rewrite squaring assembly to use Peter Dettman's parallel version