Allow non-square crossmesh networks

This doesn't really output anything sane, unfortunately.