Solve #38. Super hella fast.
Solve #39. Super fast.
Refine and document #39.