it was dark in the tween-decks , the confined space lit by small oil lamps that hung from the ceiling , swaying gently with the rise and fall of the ship , so that the ranks of hammocked men lay in deep shadow , blotched with dim patches of light from above .