remove pixels from algorithms