I think I planned skipping the intermediate variables in the beginning as they don't really matter but changed my mind later on. That I guess left them in the wrong way. Thanks for spotting :). I rebased to the tip while I was at it