search start position legality checking