Tried to optimize shadows