The problem of fishway capacity