I CANT IFDIN THE SECOND ENDING
I settled for the "second ending" when you look back sooner. I think that's slightly different than the one where you wait until it doesn't make sense to wait any longer.
Apologies for the slow reply, and don't mind me if you've already figured it out, but the endings are determined by when you decide to "look back"
Cheers