Elastix and BRAINS already implement such multi-stage approach. If you don’t want to reimplement it, you should look into them.