Use ConstDataVector to avoid const_cast. Also enable thread-checker for package.
ConstDataVector
const_cast