The origin of contractional structures in extensional gneiss domes