Return the maximum decoded layer