fixed block error and optimized prefetching chunks. shmem should now be optimal