reference profile partitioning problem