add hasSRAM & sramMaxSize for custom transforms