Store ranks as int, not double