Moving more rigorous findpinch stuff off to its own function