Arepo simulation of galaxy formation