Added kernel options to init; added a padding function for the global range