Running time for add