Remove unnecessary calls to the preorder_label function, use geom struct
Fix a major bug in the tree_size_atlevel macro, causing duplicate PL's

The macro was exceeding the maximum integer value. Solution is easy,
just cast something inside the expression to int64.
Check for in-bounds address in contains function