bug fixed when asking for an index with more than (layer*resolutions*100) packets...