Fixed ESFD, works with 4 processes together atm (haven't test anymore), however not sure about race conditions