REF: algos_take_helper de-nest templating
Having two layers of templating here is really weird, this unravels one layer so this file is organized like our other tempita files.  That makes future moves towards fused types and/or conditional nogil feasible.