curve : bug in falloff which can result in bufferoverflow