Changes in computeLevels