Made PwsConstraint work even if use_last_msg[s_vec] is enabled.
Generalised SbContainer and addded a subclass PwsContainer that additionally
partitions F based on which processes has non-empty buffers to which memory
locations.