Flext code for Giantsteps