Dimensional reduction to hypersurface of foliation