"Percent" has a valid range between 0 and 100, but your range appears to be between 0 and 1. Maybe call the variable crust_fraction?