speed-up 2. Magic constants