fix for #11, remove any out of range points