introduce rest_freeze_amount
add test for rest_freeze_amount