deblock refactoring