added support for specific max tile level