distance are maximized over a fixed interval at each level. Clean code to separate angular functions from model functions