Starting on more accurate discount algorithm