Corrected medium.
Declared medium to be final.

For #30.
Removed fixmes.
Propagated m_flow_small.

For #30.
Changed propagation of m_flow_small.

For #30.