Investigation of electron correlation effects on molecular geometries