toBuffer columnwise