For (let i = len - 1; i > 0; i /= 2)

I’ve created the following issue based on this discussion: https://youtrack.jetbrains.com/issue/KT-23019