improved meander formatting