ENH: add fast_dot shape check