First try at generate_spacetimes