First Draft MEM, Changed some asserts to exits

Trying out new latch handling, commented out old method, could get rid
of IDpush if it works