added dynamic partitioning for input operator