change the way shape are stored in memory