For long I2C wiring you can use active terminator like this:
But for 25m, I think it's better to go with RS485.