Replaces delete_at(0) with shift