New data structure for circuits