complete version of cut (takes labels vector)