Change PP perfect square test