different gifs connectedness algorithm
added new theta
building boundary space