removed unushed methods
switch to using big decimal code to avoid over/underflows