limit width to 5 times number of endpoints