tuned debouncing and holds for slower clock
efficiencizing some things