Xcode profiler shows that initialisation of cand takes about 40% of the function in the case of small number of targets. need to be tested with larger files

the IF or additional pointer - do not increase the time run