Sōzō Algorithm