Are galaxy diameters dependent on their environment?