You really need to explain yourself. Or post a schematic, photo, ...
I would assume that there is only one way that you can plug a shield into an Arduino.
Then there is no confusion about which pin is connected where.
Multiple different power supplies are very worrying.
Surely a single Mega would provide the 5V and 3.3V supplies.
If you are cavalier with voltages, you will destroy chips.
David.