make segments NonCopyable