Optimization of 'getWorldBounds' method - consume less memory and performance speed up. Other small optimization
Added comments