Whichever one Band and Primal are using (Freerse uses Primal, I think). They get very similar results, so the logic is probably similar.