Optimized _multiHeightPosForIndex
Replaced all heightForIndex for loops with cached call