Totally bounded topological ring