Tekstiviesti: Coplanar repeats by energy minimization