A passive optical network (PON) in accordance with the invention uses a
superframe having a number of subframes arranged in a two-dimensional
array, wherein for normal data transfer subframes are allocated to each
optical network unit (ONU) column by column, left to right, and within
each column subframes are allocated from top to the bottom. Initially,
for ranging, at least two subframes are allocated to an ONU, adjacent to
a diagonal of the superframe (which may go from the top left corner of
the superframe to the bottom right corner, or alternatively from the top
right corner to the bottom left corner). In some embodiments, instead of
allocating subframes column by column, the subframes are evenly spaced
apart from one another, and conflicts with a previous allocation are
resolved by adjustment, and optionally an evaluation function may be used
to find an optimal allocation.