Microstructure reconstruction via artificial neural networks: A combination of causal and non-causal approach