resample algorithms has less restrictive interface