Minor updates for efficiency
update in oiSet

Shall we compress data to uint32, actually it takes same space as
singe. The compression could make it quite slow
I hope this change will not break something….