Replace call to size with knownSize in bounds check in Patched to not exhausts iterator prematurely.
Replace call to size with knownSize in bounds check in Patched to not exhausts iterator prematurely.

scala/scala,scala/scala,scala/scala,lrytz/scala,lrytz/scala,martijnhoekstra/scala,lrytz/scala,scala/scala,lrytz/scala,martijnhoekstra/scala,martijnhoekstra/scala,lrytz/scala,scala/scala,martijnhoekstra/scala,lrytz/scala,martijnhoekstra/scala,martijnhoekstra/scala,scala/scala