more sock calculations

more sock calculations