Iterate over blocks/groups using the skip() and take() iterator adaptors