Decimates list of integers to desired length