Change size of environment value array for socket