apply 0.4 changes to base casper pieces