shadow calc now slower