Some more comments would be welcome here to explain this math magic