initialize the backward paths to starting vertex