Add gap removal to clock graph