User blog comment:Drew34000/Maximum Chain bonus/@comment-210.49.193.47-20120708092730

Using the values from your 1st paragraph the bonus is actually 580216.5 - in your calculation you accidentally added 21600 instead of 31250.