Added a new parameter to set manually the boundaries to avoid trimming columns inbetween them