Avalanche prediction in Abelian sandpile model