Text this: Stabilities of modulated phases of close packed materials