Re-implement internal tail recursion pile as a gs-collections-based PartitionedReferencePile re-usable component.