Self rerouting of dynamically reconfigurable SRAM-based FPGAs