introduce fabr_altg(), greedy alternative