create snapshot makefile target
refactor deblock code