Using memory DC, brush to achieve rubber band technology