hardcoded BIG_CHUNK changed to calcluated value (very uneffective)