adding noarraychecks to shared mem