Changed levelID to levelIDx.
Added compatibility for new levels in y-axis.