Kink-antikink collisions in the $\phi^8$ model: short-range to long-range journey