Strategy for the improvement of mixing in microdevices