shorten branch penalty