use more sensible multiplication for shadow offset