added new code for exteeding memory of cor