Some older DETX files have -1 for each floor. This MR introduces a workaround which determines the floor number by counting up for each string, assuming that everything is sorted.
-1