The two-space homogenization method