Tuomas' optimized VB fitter.