1 verses of the Douay-Rheims Bible (Challoner) have both "enlarge" and "when".
Psalms 118:32 I have run the way of thy commandments, when thou didst enlarge my heart.
In other translations: KJV WEB ASV YLT Darby Webster Geneva