Remove redundant shape check already done by check_arrays