fixed bug in pdf_2d so box starts from -1 to +1