max stack is 81 (9x9)