add property allowing min number of BFs to be specified as well, and a bit of cleanup