Scalable parallel implementation of high-dimensional dynamic programming