discretization and collision detection of blobs (collision detection
still not completely correct)