Strategy for the improvement of mixing in microdevice