A more efficient formula for the magboots