Incremental Test Pattern Generation for structurally similar circuits