changing interval to bounds / maxpoints to get lines of varying length