Making cross-staff beams look better

Cross-staff beams may not look always good; this snippet demonstrates how to get better results.