Created smooth selection algorithm
Added bucket cursor