soon they had a ring of smoke and flame all round the dwarves , a ring which they kept from spreading outwards ; but it closed slowly in , till the running fire was licking the fuel piled under the trees .