Revert "Many optimizations"

This reverts commit f5ae2518b64c254a54c351e8b20c867636c2f891.
Revert "build: Build faster by using more RAM"

This reverts commit 1557af37efb42dbfddc0883dc6a170b3cf087787.