Go stick the bolts down in the holes but don't tighten them.
Then you can see which ones are too short or too tall and move them around till you find where they go.
Or it could be the threads that are longer than try finger tightening the bolts till they stop.
Also you Cylinder Head could have a higher spot for the bolts to go, you can just eyeball it or test with bolts.