Ground state modulations in the CPN−1 model