FFBP giving expected results after code cleanup