Please improve the logic of the given paragraph.
Most likely, customs varied not only by time and place, but by facility. Women could choose to segregate themselves by gender or not.
Most likely, customs varied not only by time and place, but by facility, so that women could choose to segregate themselves by gender or not.