new method to get the events til a certain position, let time_position() use it, later time_length() will also be able to use it, and that will prevent traversing a common set of events twice.