Set max layers to 3