Simple implementation of MFC of Joseph ring problem