added removing circle process
modified condition of removing circle
modified condition of for statement at removing circle process