Fix dumb bug, and ensure SRAM size stays reasonable.