Offsetting structure generation

im currently trying to make a datapack to replicate structure gen from an older version of minecraft, i got the spawnrates about right but the structures keep spawning around 100 blocks or so off of where they originally were, is there any way to just push them in a certain direction?
Continue to help post