Flexible partitioning tool