changed different g for experiments

g = 3, or g = 4