EVER since New York 's version of Megan 's Law was passed in 1996 , local authorities on Long Island have been notifying communities about the presence of sex offenders , many of whom had just gotten out of prison .