Fixed bug when reshaping n > 1 dim blocks.