made a routine in check_positions to check size of square in visual angle