Baysian binned regression