Added parameter to memslap so that key generation can be controlled through