skip shortcuts with same flags and nodes but larger weight as existing shortcut
skip too high weights in preparation