SERVER-6405 SERVER-10256 - unify extent quantization code to avoid looping