[UPDATE] add logspace.