[FIX] Fixed bug when x is not distributed