messed with corner intrusion detection, simplified pierced code. untested
do to flippin io errors