Included dff conversion in median