Add interval length + tests