added maximum width to arrows