How did Extranonce2_size change?
Miner sent message mining.subscribe to pool

mining.subscribe("user agent/version", "extranonce1")


Pool reply with 

[[["mining.set_difficulty", "subscription id 1"],
["mining.notify", "subscription id 2"]],
"extranonce1",
extranonce2_size]


Pool set size of extranonce2