Added method to get boundings, added listener, added performance test, simplified some methods