reducing memory
debugging statements for transferring numpy array