Virtual cache added. Should fix problem with imageOperation memory reallocation.