fast read fread update
cycle karp rabin