Move twi out to a common area