fixed parallel grid initialization