Fill the firepit's bottom with a bowl of sand. You can also use a little amount of dirt or brick powder if there's no sand. These materials help prevent the fire from spreading out and absorb the heat from the pieces of firewood so that the surroundings don't get too heated up.