md: merge reconfig and check_reshape methods.