Save memory by adding directly the time values instead of storing them.