Move calculate algoithm finnaly works and everything seems to work properly.