Function for tidy shape data.