Added bounds to palace levels: %2 and <=10