put partitions in hcat results and fix shift column bug