Seems cleaner to pull the entire contents of the innermost block here into a use_amount_in_square(type, quantity, use_container) helper.