Added functionallity to stop from counting leading non-significant zeros.