Add circles on path, refactoring