Minor changes to mesh class for cubefield effect