add an option that replaces positions with Ns which are not defined in the original input
add an option that replaces positions with Ns which are not defined in the original input