Removing extraneous transposition