Simplified cache computation logic
Simplified cache computation logic

I unified position/alpha level calculation into one method. Hope this
will make it easier to read

zhanwei200873/atree,zhanwei200873/atree,anvaka/atree,teknogeek/atree,teknogeek/atree,anvaka/atree