Make segments truly immutable