Added properer dimensions and added boundary marker class.