using partitioning strategy SAFETY