finish the MAB-based data routing