optimize of #542 (initalizes $aroot)