Use want_i instead of last_i+1.