possibility to add prior in least squares solver