Refactored gapped to correctly use allocators.