dotPaths function

Find arrays valid for efficiency calculation