I'm re-potting pickups, of which I shaped endges of cover with hammer to make them fit in my guitar, and probably make wax loose in the process

Now i don't know if i should just heat the pickups to melt the wax and make it soft so it shapees and 'glues' with cover again, or should i totally submerge them in wax?