Transformed cast to long into multiplication with long.