circle packing working