Optimal transfection with the HK polymer depends on its degree of branching and the pH of endocytic vesicles.