i know the pipe maybe if you remove the inlet plenum box section it might give you a bit extra space
if you use old head bolts as a guide, build up the thread end with tape just slightly smaller that the bore diameter of the head holes,this helps to centralise the head more and also cut a slot in the top so you can unscrew them out with the head on.