sw_engine: grow cell memory buffer up to allow larger shapes