Fix #527

 Fixes #527. Error caused by passing a variable a factor of 8 out.