holy hell those boundarys was a pain... seems to work as intended now