FIXED: Special cases for weights <-> number conversion: no weights <-> zero.