A polynomial expansion to approximate the ultimate ruin probability in the compound Poisson ruin model