Speed up import with label indexes