Where are these magic numbers coming from? And why are they dimension-specific?