In addition to building grand palaces, in what other ways did absolute rulers use the vast wealth they accumulated