optimised shadow strength switching