Beyond the arithmetic constraint: depth-optimal mapping of logic chains in reconfigurable fabrics