Allocate Using Measure Of Input Or Output