build new cog

and memory
Change cog reset