Anyone know how to prevent weird cliffs and outcroppings with datapack structures on hills?

Whenever one of my datapack structures generator on a steep hill, they usually stick out as shown in the first picture. When I try to use beard_thin terrain adaptation, then it just generates a less weird but still strange cliff beneath it. Is there any way to avoid generating structures on hills altogether to prevent this?

https://preview.redd.it/b9cmts4kxrad1.png?width=699&format=png&auto=webp&s=b35e9565b50d82a446eac94d61ddc69b7191e4e1

https://preview.redd.it/ezw89c2qxrad1.png?width=818&format=png&auto=webp&s=aea24f2f6c558fe937acb0a329145563b89f05c7