I'm not sure, but I think the SMART routing algorithm takes commission into account. Ideally, the algorithm should look for the best price considering exchange fees.