Added max dots logic