overloading beside
generalized beside using Representable q
beside can accept IndexPreserving variants