Adding a BST for beach line