Multistep nature of heavy-ion fusion reactions