i wrote my own memory allocator in C to prove a point