Modeling segmentation cracking of a brittle coating due to underneath periodic eigenstrains