big optimization, now links in the main structure are preallocated and sorted, this make gibson faster during lookups