Modified inl2weight scheme as per review and feedback.