trim boundaries for evaluation