Refactored slicing colour loops