Threads: An algorithm study #4 — Deca