ring calculations during plotPath