The algo changes

The fill algorithm changes