Update flags with new memory optimizaions option

Patch set2: rewrite and remove unstable flag

Signed-off-by: Paul Beeler <sparksco@gmail.com>