reorg Dead End Filler to support other algos