Bug fixing: error in local ensemble creation for sources with high numbe...

...r of fields