improve isCircular functions