Graham algorithm, some generators