If you are doing what you say, then you are doing it wrong.
In the first VBR record there are I think 3 bytes that are excluded ftom the calculation.
There is information on in Robert Shullich sand paper and a program on his blog at rshullic.Wordpress.com where you can extract the algorithm as well.