add boost memory management