Add minimized BF implementation