thus they began to build their little nest , breaking off leafy boughs and arranging them on the ground in a makeshift bed , and then making a fire by rubbing some glowpebbles together and using their spark to ignite a small pile of the driest twigs they could find .