Threads: An algorithm study #2 — Deca