assert that in and out entities of memperms have the same size, we produce such buggy...