When they reached it they saw in front of them , in the thickest of the trees , a queer little hut , and when they looked into it , there lay the witch , with her head on the threshold of the door , with one foot in one corner and the other in the other corner , and her knees cocked up , almost touching the ceiling .