Refactoring pyr_down specializer