ArrayList<MapRect> rects;
if(level == 0) {
nn = 0;
for (int i = 0; i < l.size; i++) {
nn += data.size(l.list[i], data.kind(l.list[i]));
<BUG>}
l.initWeights(parsize, nn, data);
</BUG>
final MapAlgo tmp = new SplitAlgo();
<BUG>rects = tmp.calcMap(r, l, l.weight, ns, ne, level);
</BUG>
} else {

ArrayList<MapRect> rects;
if(level == 0) {
nn = 0;
for (int i = 0; i < l.size; i++) {
nn += data.size(l.list[i], data.kind(l.list[i]));
}
if(GUIProp.mapsimple) {
l.initWeights();
} else if(GUIProp.usetextlength && data.fs == null) {
l.initWeights(textLen, nn, data);
} else l.initWeights(parsize, nn, data);
final MapAlgo tmp = new SplitAlgo();
rects = tmp.calcMap(r, l, l.weight, 0, l.size - 1, level);
} else {
