Rename ptab_alloc_tree_s to ptab_bst_node
Remove ptab_ prefix from static functions
Calculate allocation sizes