Add check in npot2 alignment function