Rename to build_interval