changed segment constructor for more flexible si and fsi segment creation