A method of mapping a plurality of modulation symbols of a plurality of physical layer pipes present in a frame to a resource grid of data cells for the frame, wherein the modulation symbols of the plurality of physical layer pipes are represented by a two-dimensional array comprising the modulation symbol values for the plurality of physical layer pipes and wherein the resource grid of data cells is represented by a one-dimensional sequentially indexed array, the method comprising the steps of: determining, for the frame, whether each physical layer pipe of the plurality of physical layer pipes is dispersed or non-dispersed; responsive to determining that a first physical layer pipe is non-dispersed, populating a first next available position of the one-dimensional array with a first modulation symbol value of the first physical layer pipe from the two-dimensional array, wherein the step is repeated for all modulation symbol values of the first physical layer pipe, and wherein the first next available position is determined independent from the determining that the first physical layer pipe is non-dispersed; and responsive to determining that a second physical layer pipe is dispersed: calculating a sub-slice size for the second physical layer pipe by dividing a size of the second physical layer pipe with a number of sub-slices in the second physical layer pipe, wherein the size of the second physical layer pipe indicates a number of data cells allocated to the second physical layer pipe; and populating a second next available position of the one-dimensional array with a first modulation symbol value of a current sub-slice of the second physical layer pipe from the two-dimensional array, wherein the step is repeated for all modulation symbol values of the current sub-slice and for all sub-slices of the second physical layer pipe, and wherein the second next available position is determined independent from the determining that the second physical layer pipe is dispersed. determining, for the frame, whether each physical layer pipe of the plurality of physical layer pipes is dispersed or non-dispersed; responsive to determining that a first physical layer pipe is non-dispersed, populating a first next available position of the one-dimensional array with a first modulation symbol value of the first physical layer pipe from the two-dimensional array, wherein the step is repeated for all modulation symbol values of the first physical layer pipe, and wherein the first next available position is determined independent from the determining that the first physical layer pipe is non-dispersed; and responsive to determining that a second physical layer pipe is dispersed: calculating a sub-slice size for the second physical layer pipe by dividing a size of the second physical layer pipe with a number of sub-slices in the second physical layer pipe, wherein the size of the second physical layer pipe indicates a number of data cells allocated to the second physical layer pipe; and populating a second next available position of the one-dimensional array with a first modulation symbol value of a current sub-slice of the second physical layer pipe from the two-dimensional array, wherein the step is repeated for all modulation symbol values of the current sub-slice and for all sub-slices of the second physical layer pipe, and wherein the second next available position is determined independent from the determining that the second physical layer pipe is dispersed. calculating a sub-slice size for the second physical layer pipe by dividing a size of the second physical layer pipe with a number of sub-slices in the second physical layer pipe, wherein the size of the second physical layer pipe indicates a number of data cells allocated to the second physical layer pipe; and populating a second next available position of the one-dimensional array with a first modulation symbol value of a current sub-slice of the second physical layer pipe from the two-dimensional array, wherein the step is repeated for all modulation symbol values of the current sub-slice and for all sub-slices of the second physical layer pipe, and wherein the second next available position is determined independent from the determining that the second physical layer pipe is dispersed.