add simple implementation of limited allocator