A renormalization procedure for directed sandpile models