Key selector never seemed to be used, so I made the second series construction deferred. I hated that it was done twice but couldn't otherwise figure out how to lift the construction out of the two separate function bodies.