Fix a bug in STC model database
Improve the efficiency of ulong2bcd in common module