I think it's better to just call compute_intervals in this case. We try to avoid having to call one method before another method can be called.