Level calculations now work