* working on mem allocator issue : error on optimization