Use Slice Allocator instead of malloc