revamped rd density to be faster

also added gpl mergemany fcs