Set a slice capacity