algorithm create by supercarbon