Simplify assigning next version number of paste