Refinment and automatic splitting works