working ring size logic