Structural study of CH4, CO2 and H2O clusters containing from several tens to several thousands of molecules