The problem with llm vibe coding is you get hidden bombs like this.
463. if (numNodes <= 0 || numNodes > 10000000) { // Sanity check
464 throw new Error(`Invalid number of nodes: ${numNodes}`);
465 }
This easily works with 100m nodes.