Current divisions and distributed Joule heating of two-dimensional grid microstructures