improved calculation of RealmInfo