using unique class to convert bigdecimal

keep unique point to convert to bigdecimal