Replace multiplication with left shifts