Multi-step compound model of heavy-ion fusion