Remove epochs too short or too long