Make a minor optimization for faster proxy building

This PR resolves #176