add new functions for up-sampling at PU level