fix bug in pumix and histo boundaries for getting x,y positions and add temporary patch