fix starting point to begining from square

Signed-off-by: RyanZhu <troyzx1024@gmail.com>