Adding assert-s after malloc()
Asserting that the memory has been allocated

No segfault, only assert fail
Removing useless line
Moving to non-boost memory pool

Should be just as fast, but not require boost