sync minmax
Check win
sync