fixed findLoci for a part, has to be tested