i this pdf: http://www.cs.brown.edu/people/jfh/research/publications/final.pdf

on page 11(base) and 12 (result) you'll find what i mean