Move all the cells along the direction when it collicide