renamed limit to size, added function alias

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>