Found a better way of removing list padding.