updated length relative validator