Store squares indexes instead of squares reference in Move class