Implemented fallback behavior for different stat options for local size determination.