Reshaped sequential replacement algorithm (RSR) for variable selection