Structures placement

I already know that the structures are only generated in chunk edges. But my question is if there is a pattern of which chunk edges does it spawn. I did not found it in any wiki or video This would help to build in the correct direction etc.
Continue to help post