change side depth to median