Changed the way full layer is detected.