For chunk size it's the globaldata script, constant WMHM_TERRAIN_CHUNK_SIZE. The actual size of a WMHM is set up when you define it (wmhm script), the example one is 32000x32000x4000 (this affects the scaling factors used when reading the heightmap used for generation)