add interval-length support