Now api interface calculates that position at maxDepth is 0. but it is not right. Handle the problem later