group even and odd columns together in local scratch buffer