How feasible is it modifying static MapObject * map_alloc(void) (and the ...dealloc functions) to use a custom allocator, if buffer parameter is passed to constructor, so a multiprocessing.shared_memory.SharedMemory().buf can be used, similarly to Numpy?