Fix vtimer uid param type, add algorithm include.