signficant updates for LW10 and HIBE in C++