fix collinear issues with basic shapes