Improved grid plane creation.