ProteinResolver fix

replace recursive connected components in ProteinResolver with Queue to avoid stack overflow which occurs even for medium sized tasks