Revert "hikaru/renderer: compact build_2d_state()."

This reverts commit 65df8a54f5155325765ad12b8bb7551dfdb04074.

It's nonsense.