Moran dynamics in spatially heterogeneous environments with periodic fitness distribution