function for dynamic creation of data.
Function for spacing of outer segments.