Performance upgrade to TableStack's internal implementation.