Fixed level and pack finding by global index calculation.