A bootstrap version of the residual-based smooth empirical distribution function