reshape works, but not so stable