add support for total_container constraints