As I mentioned above, kalman.py was changed to use dynamic size structures for available landmarks only. As Localization class uses similar logic, let's take a look at its current implementation.
Please read the disclaimer