add paranoid mode
merged up size check