fixed Mag so it works faster with high mag sizes