move intermediate expanded a/b/o to locals