moved bytesref array off heap