data flow partition method