Pre removing diff algorithms