the constitution was written after reconstruction , designed to keep the government from being able to protect the rights of former black slaves ( and to a lesser extent , mexicans and american indians . )