cut a memory, removed cond register
cut memories by looping correctly