made value_blur nicer to use and took care of edges