SBF, IBF, and Greedy implementation