Ocean Monument Modifications

So I'm trying to remove all ocean monuments from the world, but keep the bounding boxes. I was able to do this with witch huts based on the location of the witch and cat in the hut, and with the pillager outposts by replacing all the files with blank nbt files. What I have found so far is that to locate an ocean monument, I tick freeze using the carpet mod and find the elder guardian in the top section. By recording the blocks around it into a execute function, I am able to accurately locate an ocean monument. The problem I have is that the monument can be oriented in 4 ways. Does anybody know how to make this apply to all ocean monuments?

Continue to help post