Effects of time horizons on influence maximization in the voter dynamics (Journal of complex networks)