pr04 median cut done.