zoom amount depends on z scale