[PATCH v2 11/60] bulidman: Move more code to determine_series()