The shape of space