Dynamic memory pool to compare against malloc