Added a function to find the bounds of the lines received