check list boundaries before calling sublist.