fix expression to avoid divide by zero
populate dcval/bedval lists at __init__