Water margin search