Reshape: fixes #167