fix problem with column indices for vertically stacked variables
fix problem with column indices for vertically stacked variables

eth-cscs/compression,eth-cscs/compression,eth-cscs/compression,eth-cscs/compression,eth-cscs/compression,eth-cscs/compression