Formation mechanism of superconducting phase and its three-dimensional architecture in pseudo-single-crystal KxFe2−ySe2