How to calculate IntBuffer?

HI,

Here is video. https://youtu.be/hXHy_msolPQ

now I can subdivide hex without manually indexing it.