updated to accomodate different length sectors if stage or circuit course