code clean up Dead End Filler algo