Greece Bailout Plan Takes Shape