fix segment header for by reference vector in constructor