Shape detection completed