Revising splicegraph code