fixed crash error with npcdistbw and adaptive bandwidths