if the blasts are done in the right way , and far enough before the impact , the explosion will give the vast majority of the material a large enough lateral velocity that it will miss the planet completely .