Genestack's patches to BSMap (http://code.google.com/p/bsmap/)