Batteries too close to the mags? Is com/mot safe to use?

Started out with 6s22ah packs on this X8, which left a fair bit of room between the batteries and the mag. But needed a little more power, so the 8s22ah packs are 50% taller lol and getting a little close to the compass. Is this too close? I would try the Compass/motor calibration, but in previous versions of arducopter it totally messed up my multirotor. Still don’t know why but I had to completely erase the Pixhawk and start over.