progress towards main fn to recursively min the fptree [ci skip]